package org.advanced;

/**
 * @author John.zhang
 * @version Id: RpcServerApp, v 1.0 2020/12/14 17:19 ZhiYong Exp $
 */

public class RpcServerApp {
    public static void main(String[] args) {
        IHelloService helloService = new HelloServiceImpl();
        RpcProxyServer rpcProxyServer = new RpcProxyServer();
        rpcProxyServer.publish(helloService, 8080);
    }
}
